package com.demo.burt.dataobject.dto;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author luowei1
 * @since 2018/12/13 15:41
 */
@Setter
@Getter
@ToString
@ApiModel(description = "查询订单dto对象")
public class OrderDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    private Long              orderId;

    /**
     * 订单金额(分)
     */
    private Integer           amount;

    /**
     * 订单状态
     */
    private Integer           orderStatus;

    /**
     * 下单时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date              createdTime;
}
